package com.company.project.component.excel.importfile;




import com.company.project.component.excel.importfile.domain.common.ImportResult;
import com.company.project.component.excel.importfile.exception.FileImportException;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * Created by stark.zhang on 2015/11/19.
 */
public abstract class FileImportor {

    public abstract ImportResult getImportResult(File file, String fileName) throws FileImportException, FileNotFoundException;
    public abstract ImportResult getImportResult(InputStream in, String fileName) throws FileImportException, FileNotFoundException;

}
